<p>Розділ: <a href=""><?= $this->menuItem['Name']?></a></p>

<?php if(  User::getRole() !== "guest"   ) { ?>
<div style="float: right;padding: 5px 10px;"><a href="<?php echo $this->baseUrl('page/edit/edit/id/' . $this->Row['ID'])?>">Редактировать страницу</a></div>
<?php 
}  
?>

<h1><?php echo $this->Row['Title'];?></h1>

<?php 
echo $this->Row['Text'];


if (count($this->files))
{
    ?>
<div style="border: 1px solid #493310;padding: 5px">
<b>Завантажити роботу:</b><br /> 
 <?php    foreach ($this->files  as $file)
    {
        echo '<a href="' . $this->baseUrl('file/download/path/' . $file['Path']) . '"><b>' . "Скачати " . $this->Row['Title'] . "</b> (" . $file['Name'] . ')</a><br />';
    }
    ?>
</div>
<?php 
}
?>
